//导入请求接口模块
import requset from "@/utils/requset"
//封装注册接口的API函数
export const requsetAPI = ((data)=>{
return requset({ url: "/h5/user/register", method: "post", data});
})
//封装登录接口API函数
export const loginAPI = ((data)=>{
    return requset({ url: "/h5/user/login", method: "post", data});
    })
//========
export const articleAPI = (({current,sorter})=>{
    return requset({ url: "/h5/interview/query", 
    params:{
        current,
        sorter,
        pageSize:20
    }
    });
    })